Part Number Hot Search : 
000MHZ EMK23 AO4449 1E120 0CTQ1 166BG YTFP151 0FFI020
Product Description
Full Text Search
 

To Download SAE81C90 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  data sheet 0 1.97 preliminary mi c r o c omp u ter componen t s sae 81c9 0 / 91 standalone full-can controller
semiconductor group 1 01.97 l full can controller for data rate up to 1 mbaud l complies with can specification v2.0 part a (part b passive) l up to 16 messages simultaneous (each with maximum data length) l message identifier reprogrammable on the fly l several transmit jobs can be sent with a single command l transmit check l basic can feature l time stamp for eight messages l two host interfaces (parallel and serial) l user-configurable outputs for different bus concepts l programmable clock output l two 8 bit i/o-port extension (p-lcc-44-1 package only) stand alone full can controller sae 81c90/91 the device comes in two versions: sae 81c90 in a p-lcc-44-1 package with two 8-bit l/o ports, and sae 81c91 in a p-lcc-28-1 package without l/o ports. controller area network (can): license of robert bosch gmbh sae 81c90/91 revision history: version 01.97 previous releases: 06.95 05.94 (copy version) page subjects 1056 figure 1 corrected. 1057 figure 2 corrected. 1059 notes updated. 1065 - 1084 register description and arrangement improved. 1066, 1069 new register maps. 1093 t avll , t llax , t dvwh changed to 10 ns. 1093 t whdx changed to 5 ns. p-lcc-44-1 p-lcc-28-1
07feb95@09:05h intermediate version semiconductor group 2 sae 81c90/91 introduction the siemens stand alone full can (sfcan) circuit incorporates all the parts for completely autonomous transmission and reception of messages using the can protocol. the flexible, programmable interface allows hookup to different implementations of the physical layer. the link to a host controller can be made either by a multiplexed 8-bit address/data bus or by a high-speed, serial synchronous interface. figure 1 logic symbol ordering information type ordering code package function sae 81c91 q67121-f0001 p-lcc-28-1 stand alone full can controller temperature range C 40 to + 110 ?c sae 81c90 q67121-h9038 p-lcc-44-1 stand alone full can controller temperature range C 40 to + 110 ?c
07feb95@09:05h intermediate version semiconductor group 3 sae 81c90/91 pin configurations (top view) figure 2
07feb95@09:05h intermediate version semiconductor group 4 sae 81c90/91 pin definitions and functions symbol pin number input (i) output (o) function plcc-48 plcc-28 x1 1) 11 28 o crystal oscillator output. must be unconnected for external clock input. x2 1) 10 27 i crystal oscillator input. used for external clock input. clkout 1) 14 3 o clock output res 19 4 i reset. (schmitt trigger characteristic) ad0/di 42 19 i/o pi: address / data bus / si: data input ad1/do 43 20 i/o pi: address / data bus / si: data output ad2/clk 44 21 i/o pi: address / data bus / si: clock input ad3/ w 1 22 i/o pi: address / data bus / si: write select ad4/tim 2 23 i/o pi: address / data bus / si: tim = 0: timing a; tim = 1: timing b ad5 3 24 i/o pi: address/data bus ad6 4 25 i/o pi: address/data bus ad7 5 26 i/o pi: address/data bus rd 35 16 i pi: read / si: no function wr 36 17 i pi: write / si: no function ale 34 15 i pi: address latch enable / si:no function cs 27 12 i chip select int 41 18 o interrupt ms 26 11 i mode select (pi ? si) p00 p03, p04 p07 28, 29, 30, 31, 37, 38, 39, 40 C C i/o i/o port 0 these pins provide internal pullup resistors of about 10...200 k w . p10 p13, p14 p17 18, 17, 16, 15, 9, 8, 7, 6 C C i/o i/o port 1 these pins provide internal pullup resistors of about 10...200 k w . tx0 25 10 o transmitter output 0 tx1 24 9 o transmitter output 1 rx0 23 8 i comparator input 0 / digital input 2) rx1 22 7 i comparator input 1 2) v dda 20 5 i analog power supply for comparator (may be unconnected using the digital mode)
07feb95@09:05h intermediate version semiconductor group 5 sae 81c90/91 1) for best results keep the crystal circuitry connections as short as possible and keep the clkout line away from it. 2) if the bus lines work according to the iso specification, additional circuitry is necessary for interconnection of the input comparator to the bus lines. the digital mode is enabled by setting bit di in register bl2. when using the digital mode pin rx1 should be on v ss . 3) it is recommended to decouple these supply pins close to the device using a 10 pf capacitor in addition to the standard 100 nf capacitor. v ssa 21 6 i analog power ground for comparator (must always be connected) v dd1 13 2 i digital power supply 3) v dd2 32 13 i digital power supply v ss1 12 1 i digital power ground 3) v ss2 33 14 i digital power ground pin definitions and functions (contd) symbol pin number input (i) output (o) function plcc-48 plcc-28
07feb95@09:05h intermediate version semiconductor group 6 sae 81c90/91 functional description the siemens stand-alone full-can (sfcan) circuit is a large-scale-integrated peripheral device that executes the entire protocol of an automobile or industrial network. figure 3 block diagram
07feb95@09:05h intermediate version semiconductor group 7 sae 81c90/91 bus communication is based on the controller-area-network (can) protocol. with features like short message length, guaranteed reaction time for messages of appropriate priority, which is defined by the message identifiers. also included are powerful error detection and treatment capabilities plus ease of operation. the can protocol is especially designed for the requirements of automobile and industrial electronic networks. the sfcan circuit incorporates all the parts for completely independent transmission and reception of messages using the can protocol. the flexible, programmable interface allows connection to different implementations of the physical layer. the link to a host controller can be made either by a multiplexed 8-bit address/data bus or by a high-speed, serial synchronous interface. message memory the sfcan circuit filters incoming messages with an associative memory (cam = content- addressable memory). for this the identifier and rtr bits of the required message must be written to the appropriate memory location. the identifier of each incoming message is compared with the identifiers stored in the cam. upon a match the received data bytes are written into the ram buffer of the matching message. at the same time the corresponding receive-ready bit is set and a receive interrupt is generated, if it is enabled. if no match is detected, the received message is rejected. identifiers can be reprogrammed at any time, although it is possible that data of the old or new identifier may be lost during reprogramming. an incoming transmit request will only be satisfied automatically by the hardware if the rtr bit of the particular identifier is set in cam. to ensure data consistency when reading or writing several data bytes of a specific message the message objects are not accessed directly but via a 64-bit shadow register (see figure below). this shadow register stores the complete data field of a certain message object for both reading and writing. for read accesses the messages data field is copied to the shadow register... ...with the 1st read access to the respective data field (e.g. 80 h ... 87 h for message 0), or ...with any read access to byte 7 of the respective data field (e.g. 87 h for message 0). this ensures that all bytes read via the shadow register belong to the same message, even though a new one might have been received in the meantime. for write accesses the shadow register is copied to the respective message data field... ...with any write access to byte 0 of the respective data field (e.g. 80 h for message 0). this ensures that only completely updated message are transmitted. it is therefore recommended to begin all read and write accesses with the most-significant data byte of a message and end with data byte 0. this ensures operations on consistent data and correct transfers between the shadow register and the message ram. note: for these reasons it is absolutely essential to ensure that the writing of data is not interrupted by a read operation and vice versa, a read operation should not be interrupted by a write.
07feb95@09:05h intermediate version semiconductor group 8 sae 81c90/91 figure 4 cam, message memory and time-stamp registers
07feb95@09:05h intermediate version semiconductor group 9 sae 81c90/91 bit stream processor (bsp) the bit-stream processor controls the entire protocol, differentiates between the frames types and detects frame errors. error management logic (eml) the error-management logic receives error messages from the bsp and, in turn, sends back information about error state to the bsp and cil. bit timing logic (btl) the bit-timing logic determines the timing of the bits and synchronizes with the edges of the bit stream on the can bus. transceiver control logic (tcl) the transceiver-control logic consists of programmable output driver, input comparator and input multiplexer. clock generator (cg) the clock generator consists of an oscillator and a programmable divider. the oscillator can be fed from an external quartz crystal, ceramic resonator or an external timing source. the permissible crystal frequency is 1 to 20 mhz, and the external clock may be between 0 and 20 mhz. a programmable frequency, dependent on the crystal clock, is available with the clkout pin, e.g. for the clocking of a host controller. cpu interface logic (cll) the cpu interface logic controls the access of the host via the parallel or serial interface, interprets the commands and outputs status and interrupt information. transmit check the can protocol ensures a very high integrity for the data transferred over the bus. the on-chip path from the data stored in parallel to the serial bit stream is not protected by the protocol. to eliminate any possible uncertainties at this point too, the sfcan circuit incorporates a transmit- check unit. this unit reads back a transmitted message via the normal receive path from the bus interface and compares the data with those written into the message memory by the host controller. if any inconsistency of the data is detected, the current message will be invalidated by an error frame. the transmit-check error counter tcec is then incremented by 1. if this counter reaches 4 an error interrupt (bit tci in the int register) is generated, provided that this has not been masked (bit etci in the imsk register). this count will also produce the bus off status. the tcec is set to 0 after a reset and can be read and also written for test purposes at any time. note: the transmit-check is an additional feature of the siemens full can chip and is not part of the can protocol.
07feb95@09:05h intermediate version semiconductor group 10 sae 81c90/91 time stamp it is impossible to determine from the received data in the message memory when they were received. so the host controller is unable to derive any information about the actuality or the repetition rate of the data. to enable an indication of the time of reception for at least some of the messages, a 16-bit timer is implemented on the sae 81c90/91. the content of this gets written into the time-stamp registers of the particular message when it is received (for the messages 0 through 7). there are two time- stamp bytes for each of the messages 0 through 7, and these hold the value of the 16-bit timer. the actuality of a message is determined by subtracting the old time-stamp of a message, stored in the host controller, from the new one, with respect to the timer overflow bit. overflow of the timer can be detected by bit tsov in the ctrl register. this bit does not trigger an interrupt and has to be reset by the host controller. depending on the setting of bitfield tsp in register ctrl, the counter is fed with 1/32, 1/64, 1/128 or 1/256 of the bus clock. the momentary timer status can be read and set at any time. the timer starts at 0 after a reset and cannot be stopped. i/o-ports there are two parallel i/o ports in the sae 81c90, each with eight pins. these ports are configured pin by pin as input or output, depending on the contents of the port-direction register. the output data for the port pins can be written (latched) into the port-latch register. reading this register reproduces the contents of the latch. the levels on the port pins can be read from the port- pin register. for the sae 81c91 in its p-lcc-28-1 package, the pads of the i/o ports are not bonded and therefore unavailable to the user. note: registers pxpdr and pxpl may be used for general purpose storage if the ports are not used.
07feb95@09:05h intermediate version semiconductor group 11 sae 81c90/91 device control and registers the operation of the sae 81c90/91 is controlled via a number of registers. these registers allow initialization and function control, provide status information and configure the message objects. the upper part of the address space provides access to the data buffers of the message objects. the data buffers are ordered sequentially as shown in the table below. the register map on the next page summarizes the other registers (i.e. except the data registers) ordered by their address, while the following pages describe these registers in more detail from a functional point of view. note: locations marked reserved in the register map must not be written in initialization mode. this also applies to locations 60 h through 7f h . data registers address function 80 h byte 0 message 0 81 h byte 1 82 h byte 2 83 h byte 3 84 h byte 4 85 h byte 5 86 h byte 6 87 h byte 7 88 h byte 0 message 1 89 h byte 1 :: : f6 h byte 6 message 14 f7 h byte 7 f8 h byte 0 message 15 f9 h byte 1 fa h byte 2 fb h byte 3 fc h byte 4 fd h byte 5 fe h byte 6 ff h byte 7
07feb95@09:05h intermediate version semiconductor group 12 sae 81c90/91 register map (ordered by address) note: the locations marked uu h are not changed upon a reset. after a power on reset they are undefined (xx h ), of course. addr. reg. name reset addr. reg. name reset addr. reg. name reset 00 h bl1 00 h 20 h reserved --- 40 h dr0h uu h 01 h bl2 00 h 21 h reserved --- 41 h dr0l uu h 02 h oc 00 h 22 h reserved --- 42 h dr1h uu h 03 h brp 00 h 23 h reserved --- 43 h dr1l uu h 04 h rrr1 00 h 24 h reserved --- 44 h dr2h uu h 05 h rrr2 00 h 25 h reserved --- 45 h dr2l uu h 06 h rimr1 00 h 26 h reserved --- 46 h dr3h uu h 07 h rimr2 00 h 27 h reserved --- 47 h dr3l uu h 08 h trs1 00 h 28 h p0pdr 00 h 48 h dr4h uu h 09 h trs2 00 h 29 h p0pr xx h 49 h dr4l uu h 0a h imsk 00 h 2a h p0lr 00 h 4a h dr5h uu h 0b h reserved --- 2b h reserved --- 4b h dr5l uu h 0c h reserved --- 2c h p1pdr 00 h 4c h dr6h uu h 0d h reserved --- 2d h p1pr xx h 4d h dr6l uu h 0e h reserved --- 2e h p1lr 00 h 4e h dr7h uu h 0f h reserved --- 2f h reserved --- 4f h dr7l uu h 10 h mod 00 h 30 h tsr0h uu h 50 h dr8h uu h 11 h int 00 h 31 h tsr0l uu h 51 h dr8l uu h 12 h ctrl 00 h 32 h tsr1h uu h 52 h dr9h uu h 13 h reserved --- 33 h tsr1l uu h 53 h dr9l uu h 14 h cc 01 h 34 h tsr2h uu h 54 h dr10h uu h 15 h tcec 00 h 35 h tsr2l uu h 55 h dr10l uu h 16 h tcd xx h 36 h tsr3h uu h 56 h dr11h uu h 17 h reserved --- 37 h tsr3l uu h 57 h dr11l uu h 18 h trr1 00 h 38 h tsr4h uu h 58 h dr12h uu h 19 h trr2 00 h 39 h tsr4l uu h 59 h dr12l uu h 1a h rrp1 00 h 3a h tsr5h uu h 5a h dr13h uu h 1b h rrp2 00 h 3b h tsr5l uu h 5b h dr13l uu h 1c h tsch 00 h 3c h tsr6h uu h 5c h dr14h uu h 1d h tscl 00 h 3d h tsr6l uu h 5d h dr14l uu h 1e h reserved --- 3e h tsr7h uu h 5e h dr15h uu h 1f h reserved --- 3f h tsr7l uu h 5f h dr15l uu h
07feb95@09:05h intermediate version semiconductor group 13 sae 81c90/91 descriptor registers a descriptor register is available for each message object and contains the eleven bits of the message identifier (id.0 through id.10), the remote-transmission-request bit (rtr) and the data length code (dlc) of a message. n = 0...15 bit rtr determines the function of the corresponding message object when it is transmitted, and its reaction on a received data frame or remote frame. the table below summarizes the message objects behaviour in the different cases. note: for the transmission of remote frames (rtr = 1) the data-length-code should be set to 0. drnh 76543210 address: xx h id.10 id.9 id.8 id.7 id.6 id.5 id.4 id.3 reset value: uu h rw rw rw rw rw rw rw rw drnl 76543210 address: xx h id.2 id.1 id.0 rtr dlc reset value: uu h rw rw rw rw rw rw rw rw bit(field) function dlc data length code defines the number of data bytes of message n. defined values are 0000...1000, i.e. 0...8 bytes. other values are not permitted. rtr remote transmission request bit 0: this message operates as a data frame. 1: this message operates as a remote frame. note: see description and table below. id.10-0 identifier identifier associated with message n, controls the acceptance of received frames and is inserted into transmitted frames. rtr bit object is transmitted matching data frame received matching remote frame received 0 (data frame) the message object is transmitted as a standard data frame. the data frame is stored in the message object. the remote frame is ignored. 1 (remote frame) the message object is transmitted as a remote frame (i.e. a request). the data frame is ignored and not stored. the message object is sent as a data frame.
07feb95@09:05h intermediate version semiconductor group 14 sae 81c90/91 descriptor register arrangement address function 40 h high byte descriptor register for message object 0 41 h low byte 42 h high byte descriptor register for message object 1 43 h low byte ::: 5c h high byte descriptor register for message object 14 5d h low byte 5e h high byte descriptor register for message object 15 5f h low byte
07feb95@09:05h intermediate version semiconductor group 15 sae 81c90/91 control register summary note: 1) ro: read only, r/w: read and write access, wo: write only, i: access only with bit im set. register name address function reset value read write 1) oc 02 h output-control register 00 h r/w, i cc 14 h clock-control register 01 h wo ctrl 12 h control register 00 h r/w mod 10 h mode/status register 00 h r/w int 11 h interrupt register 00 h r/w imsk 0a h interrupt-mask register 00 h r/w bl1 00 h bit-length register 1 00 h r/w, i bl2 01 h bit-length register 2 00 h r/w, i brp 03 h baud-rate prescaler 00 h wo, i rrr1 04 h receive-ready register 1 00 h r/w rrr2 05 h receive-ready register 2 00 h r/w rimr1 06 h receive-interrupt-mask register 1 00 h r/w rimr2 07 h receive-interrupt-mask register 2 00 h r/w trsr1 08 h transmit-request-set register 1 00 h r/w trsr2 09 h transmit-request-set register 2 00 h r/w trrr1 18 h transmit-request-reset register 1 00 h wo trrr2 19 h transmit-request-reset register 2 00 h wo rrpr1 1a h remote-request-pending register 1 00 h ro rrpr2 1b h remote-request-pending register 2 00 h ro tsch 1c h time-stamp counter high byte 00 h r/w tscl 1d h time-stamp counter low byte 00 h r/w tcec 15 h transmit-check error counter 00 h r/w tcd 16 h transmit-check data register xx ro p0pdr 28 h port 0 port-direction register 00 h r/w p1pdr 2c h port 1 port-direction register 00 h r/w p0lr 2a h port 0 latch register 00 h r/w p1lr 2e h port 1 latch register 00 h r/w p0pr 29 h port 0 pin register xx h ro p1pr 2d h port 1 pin register xx h ro
07feb95@09:05h intermediate version semiconductor group 16 sae 81c90/91 output-control register the output drivers of the sae 81c90/91s transmit pins (txn) can be individually configured. thus they can be adapted to the requirements of the external bs system. n = 0, 1 note: this register can only be written when bit im (mod.0) is set. figure 5 output control circuitry oc 76543210 address: 02 h octp1 octn1 ocp1 octp0 octn0 ocp0 ocm reset value: 00 h rw rw rw rw rw rw rw rw bit(field) function ocm output mode 0x: normal mode : tx0 = bit sequence, tx1 = bit sequence. 10: test mode : tx0 = bit sequence, tx1 = rx0. 11: clock mode : tx0 = bit sequence, tx1 = bit clock. ocpn output polarity 0: output is driven directly with can data. 1: output is driven with inverted can data. octnn negative output transistor control 0: the low side output transistor tnn is disabled. 1: the low side output transistor tnn drives the pin according to data. octpn positive output transistor control 0: the high side output transistor tnp is disabled. 1: the high side output transistor tnp drives the pin according to data.
07feb95@09:05h intermediate version semiconductor group 17 sae 81c90/91 output programming tnp is the output transistor switching to v dd , tnn switches to v ss . txn is the output level at the transmit pin. clock control register the clock control register determines the output frequency at pin clkout which is derived from the oscillator frequency. the clock control register requires a special protocol for writing in order to prevent the clock output from being changed inadvertently: l step 1: write 80 h to cc l step 2: write desired value to cc (bits 7...4 must be 0000) note: not defined bit positions must be 0 for write accesses. octp.n octn.n ocp.n data tnp tnn txn-level 0000 = dominant off off float 0001 = recessive off off float 0010 offoff float 0011 offoff float 0100 offon low 0101 offoff float 0110 offoff float 0111 offon low 1000 offoff float 1001 on off high 1010 on off high 1011 offoff float 1100 offon low 1101 on off high 1110 on off high 1111 offon low ccr 76543210 address: 14 h ---- cc reset value: 01 h - - - - wwww bit(field) function cc clock output control 0000: f clkout = f osc 0001: f clkout = f osc / 2 0010: f clkout = f osc / 4 0011: f clkout = f osc / 6 0100: f clkout = f osc / 8 0101: f clkout = f osc / 10 0110: f clkout = f osc / 12 0111: f clkout = f osc / 14 1xxx: f clkout = low (clock output is switched off)
07feb95@09:05h intermediate version semiconductor group 18 sae 81c90/91 control register ctrl 76543210 address: 12 h rx tst tsp tsov sme tce mm reset value: 00 h rw rw rw rw rw rw rw rw bit(field) function mm monitor mode 0: message object 0 operates like all other objects. 1: message object 0 receives all identifiers that are not accepted by other objects (corresponds to a basic can receive register). tce transmit check enable 0: if the transmit check detects an error, there is no intervention. 1: if the transmit check detects an error, the message is invalidated by an error frame and the error counter tcec is incremented by 1. if the counter reaches 4, the bus off status is initiated and, if enabled, an interrupt (tci) is generated. sme sleep mode enable 0: normal operation. 1: the sleep mode is enabled: the crystal oscillator is deactivated, all other activities are inhibited. the wake up is done by a reset signal or by an active signal at the cs pin or by an input edge going from recessive to dominant at pin rx0 or rx1. tsov time stamp overflow 0: there has been no overflow 1: there was at least one overflow of the time-stamp timer. tsp time stamp prescaler (defines the input clock of the time-stamp timer) 00: f bl / 32 01: f bl / 64 10: f bl / 128 11: f bl / 256 (for f bl see baud-rate prescaler brp). tst time stamp test 0: the prescaler is activated. 1: the time-stamp prescaler is deactivated. (only for testing purposes, bit im = mod.0 must be set to 1). rx input monitor rx this bit monitors the actual state of the digital input pin rx0.
07feb95@09:05h intermediate version semiconductor group 19 sae 81c90/91 mode/status-register mod 76543210 address: 10 h ade rs tc twl rwl bs res im reset value: 00 h rwrrrrrrwrw bit(field) function im init mode 0: normal mode. 1: initialization mode: write access to the configuration registers bl1, bl2, oc, brp is enabled. if the bit stays set, the chip enters the normal mode, with enabled access to the configuration registers. if this bit is set in conjunction with bit res a hard software reset is activated. res reset request 0: normal mode. 1: the chip enters the reset state: C if bit im = 0 a soft software reset takes place. C if bit im = 1 a hard software reset takes place. further details see below. bs bus state (read only) 0: normal mode. 1: bus off state, the ic does not participate in bus activities. rwl receiver warning level (read only) 0: receive-error counter below 96. 1: receive-error counter equal or above 96. twl transmit warning level (read only) 0: transmit-error counter below 96. 1: transmit-error counter equal or above 96. tc transmission complete (read only) 0: the last transmission request is not yet executed successfully. 1: the last transmission request was executed successfully. rs receive state (read only) 0: no reception active. 1: currently the sae 81c90/91 is in receive mode. ade auto decrement enable 0: no automatic address decrement. 1: with every read or write access using the serial synchronous interface si the address is automatically decremented by one. so data can be accessed sequentially without the need of writing a new address.
07feb95@09:05h intermediate version semiconductor group 20 sae 81c90/91 notes on bit tc scanning this bit is particularly useful if only one transmission is active. if there are several transmission jobs at the same time, it is better to scan the transmit-request register, because bit tc may possibly only be set very briefly between acknowledgment of the previous message and the start of the next one. notes on bit res and im and reset modes there are three different reset modes implemented in the sae 81c90/91: hardware reset (activated by low level on pin res) hard software reset (activated by setting both bits res and im to 1) soft software reset (activated by setting bit res to 1 and bit im to 0) the only difference between hardware and hard software reset affect bits res and im, that are not changed by software reset. with soft software reset the registers rrr1, rrr2, trsr1, trsr2, rrpr1 and rrpr2 are cleared, all bus activities are stopped, the error counters are not cleared, the bus off state is cancelled only after 128 idle phases (according to the can protocol 1 idle phase = 11 recessive bits in sequence). simply spoken a soft software reset interrupts and cancels all bus activities and - if necessary - recovers from bus off state. notes on bit rs bit rs directly reflects the internal status. rs is 0 during transmission or when the sae 81c90/91 is idle. rs is 1 during reception or during the synchronization after a reset.
07feb95@09:05h intermediate version semiconductor group 21 sae 81c90/91 interrupt register note: all bits of this register must be reset by software. this is done by writing 0 to the respective bit location, writing 1 has no effect. an interrupt is only generated if the respective imsk bit is set. the bits in this register are set independent of register imsk (see below). the interrupt output is active for at least one bit time. the interrupt output is deactivated when all enabled request bits are cleared. a request bit is enabled by setting its corresponding mask bit. masked request bits do not activate the interrupt output. int 76543210 address: 11 h tci epi boi wupi rfi wli ti ri reset value: 00 h rw rw rw rw rw rw rw rw bit(field) function ri receive interrupt after a valid message has been received and filed, this bit is set and an interrupt generated. this bit will remain set until all bits of the registers rrr1 and rrr2 are reset. ti transmit interrupt this bit is set and an interrupt generated as soon as a transmit request has been processed. wli warning level interrupt if at least one of the two error counters is greater than or equals 96, this bit is set and an interrupt generated. rfi remote frame interrupt this interrupt is generated after reception of a remote frame. wupi wake up interrupt after a wake-up this bit is set and an interrupt generated. boi bus off interrupt this bit is set and an interrupt generated when the bus off status is entered. epi error passive interrupt if at least one of the two error counters is greater than or equals 128, this bit is set and an interrupt generated. tci transmit check interrupt if the transmit-check error counter reaches 4, this bit is set and an interrupt generated.
07feb95@09:05h intermediate version semiconductor group 22 sae 81c90/91 interrupt-mask register these mask bits determine if an event activates the int pin. they do not influence the int register. imsk 76543210 address: 0a h etci eepi eboi ewupi erfi ewli eti eri reset value: 00 h rw rw rw rw rw rw rw rw bit(field) function eri enable receive interrupt 0: no receive interrupt enabled. 1: receive interrupts are enabled. eti enable transmit interrupt 0: no transmit interrupt enabled. 1: completed transmit jobs generate interrupts. ewli enable warning level interrupt 0: no warning level interrupt enabled. 1: there is an interrupt when the warning level is reached. erfi enable remote frame interrupt 0: no remote frame interrupt enabled. 1: a receive interrupt is generated after receiving a remote frame ewupi enable wake up interrupt 0: no wake up interrupt enabled. 1: wake-up interrupt is enabled. eboi enable bus off interrupt 0: no bus off interrupt enabled. 1: bus off interrupt is enabled. eepi enable error passive interrupt 0: no error passive interrupt enabled. 1: error passive interrupt is enabled. etci enable transmit check error interrupt 0: no transmit check interrupt enabled. 1: transmit-check error interrupt is enabled.
07feb95@09:05h intermediate version semiconductor group 23 sae 81c90/91 bit-length registers note: not defined bit positions must be 0 for write accesses. the bit length registers bl1 and bl2 can only written while bit im (mod.0) is set. 1) if the bus lines work according to the iso specification, additional circuitry is necessary for interconnection of the input comparator to the bus lines. bl1 76543210 address: 00 h sam ts2 ts1 reset value: 00 h rw rw rw rw rw rw rw rw bit(field) function ts1 length of timing segment 1 (tseg1). t tseg1 = (ts1 + 1) t scl . for t scl see baud-rate prescaler brp. ts2 length of timing segment 2 (tseg2). t tseg2 = (ts2 + 1) t scl . for t scl see baud-rate prescaler brp. sam sample rate 0: input signal is sampled once per bit. 1: input signal is sampled three times per bit. note: bit sam should only be set to 1 using very low baud rates. bl2 76543210 address: 01 h ipol di C C C sm sjw reset value: 00 h rw rw - - - rw rw rw bit(field) function sjw maximum synchronization jump width. t sjwidth = (sjw + 1) t scl . for t scl see baud-rate prescaler brp. sm speed mode (defines edge used for synchronization) 0: recessive to dominant is used. 1: both edges are used. note: according to the can specification this bit should not be set to 1. di digital input 0: the input signal is applied to the input comparator. 1) 1: the input signal on pin rx0 is evaluated digitally. the input comparator is inactive. pin rx1 should be on v ss . ipol input polarity 0: the input level remains unaltered. 1: the input level is inverted.
07feb95@09:05h intermediate version semiconductor group 24 sae 81c90/91 baud rate prescaler register the register is not readable and can only be written when bit im (mod.0) is set. note: not defined bit positions must be 0 for write accesses. the bit length t bl is computed as follows: t bl = t tseg1 + t tseg2 + 1 t scl the baudrate br can be computed with the following formula: br = f crystal / (2 x (brp + 1) x (ts1 + ts2 + 3) ) note: brp see baud rate prescaler register ts1 see bit length register 1 ts2 see bit length register 1 brpr 76543210 address: 03 h C C brp reset value: 00 h - - wwwwww bit(field) function brp baud rate prescaler this prescaler determines the period of the system clock: t scl = (brp + 1) 2 t osc , where t osc = 1 / f crystal .
07feb95@09:05h intermediate version semiconductor group 25 sae 81c90/91 receive-ready registers these register bits can be reset by writing 0 to the respective bit, writing 1 has no effect. bit rrn is set when a message has arrived and been written into the memory location of message n. setting this bit by hardware can generate a receive interrupt, which can be blocked by bit rimn in the receive-interrupt-mask register. bits rrn must be reset by software. receive-interrupt-mask registers setting bit rimn enables a receive interrupt to be generated if the receive-ready bit rrn has been set, i.e. a message has arrived and was written into the memory location of message n. note: bit eri in the interrupt-mask register im blocks all receive interrupts, even if bits rimn are set. rrr2 76543210 address: 05 h rr15 rr14 rr13 rr12 rr11 rr10 rr9 rr8 reset value: 00 h rw rw rw rw rw rw rw rw rrr1 76543210 address: 04 h rr7 rr6 rr5 rr4 rr3 rr2 rr1 rr0 reset value: 00 h rw rw rw rw rw rw rw rw bit(field) function rrn receive ready bit 0: no new message received in object n. 1: a new message has been received and stored in object n. rimr2 76543210 address: 07 h rim15 rim14 rim13 rim12 rim11 rim10 rim9 rim8 reset value: 00 h rw rw rw rw rw rw rw rw rimr1 76543210 address: 06 h rim7 rim6 rim5 rim4 rim3 rim2 rim1 rim0 reset value: 00 h rw rw rw rw rw rw rw rw bit(field) function rimn receive interrupt mask bit 0: no interrupt upon reception of object n. 1: when a new message is stored in object n an interrupt is generated.
07feb95@09:05h intermediate version semiconductor group 26 sae 81c90/91 transmit request registers the transmit request set registers provide a transmission request bit (trsn) for each message object. setting a transmission request bit causes the respective message x to be transmitted. the bit is cleared by hardware after transmission. several bits can be set simultaneously. in this way all messages whose request bits are set are transmitted in turn, starting with the memory location with the highest number. note: a transmission request bit is set by writing 1 to the respective bit location (trsn). writing 0 has no effect. n = 0...15 the transmit request reset registers provide a transmit request reset bit (trrn) for each transmit request bit trsn, i.e. for each message object. writing 1 to a trrn bit clears the corresponding transmission request bit trsn. this causes a transmission request, initiated by the corresponding bit trsn, to be cancelled, provided that it is not currently processed. this scheme avoids conflicts when writing to register bits while they are cleared by hardware because of a completed transmission. note: registers trrrx cannot be read. trsr2 76543210 address: 09 h trs15 trs14 trs13 trs12 trs11 trs10 trs9 trs8 reset value: 00 h rw rw rw rw rw rw rw rw trsr1 76543210 address: 08 h trs7 trs6 trs5 trs4 trs3 trs2 trs1 trs0 reset value: 00 h rw rw rw rw rw rw rw rw bit(field) function trsn transmit request set bit 0: no change of the respective transmit request bit. 1: the respective transmit request bit is cleared.
07feb95@09:05h intermediate version semiconductor group 27 sae 81c90/91 remote-request-pending registers n = 0...15 trrr2 76543210 address: 19 h trr15 trr14 trr13 trr12 trr11 trr10 trr9 trr8 reset value: 00 h wwwwwwww trrr1 76543210 address: 18 h trr7 trr6 trr5 trr4 trr3 trr2 trr1 trr0 reset value: 00 h wwwwwwww bit(field) function trrx transmit request reset bit 0: no change of the respective transmit request bit. 1: the respective transmit request bit is cleared. rrpr2 76543210 address: 1b h rrp15 rrp14 rrp13 rrp12 rrp11 rrp10 rrp9 rrp8 reset value: 00 h rrrrrrrr rrpr1 76543210 address: 1a h rrp7 rrp6 rrp5 rrp4 rrp3 rrp2 rrp1 rrp0 reset value: 00 h rrrrrrrr bit(field) function rrpn remote request pending bit 0: no remote request pending. 1: a remote request (remote frame) for message n was received but is not yet answered by the transmission of the corresponding data frame.
07feb95@09:05h intermediate version semiconductor group 28 sae 81c90/91 message time stamp this mechanism stores the time at which a specific message was received, i.e. it assigns a time stamp to that message. for this purpose the contents of the free-running time stamp counter tsc is copied to the time stamp register tsrn of the respective message object upon reception of this message. the time stamp counter registers provide access to the free-running time stamp counter. the time-stamp registers are available for each of message objects 0...7 (see table below) and contain the time-stamp of the corresponding message. these registers can only be read. n = 0...7 tsch 76543210 address: 1c h tsc.15 tsc.14 tsc.13 tsc.12 tsc.11 tsc.10 tsc.9 tsc.8 reset value: 00 h rw rw rw rw rw rw rw rw tscl 76543210 address: 1d h tsc.7 tsc.6 tsc.5 tsc.4 tsc.3 tsc.2 tsc.1 tsc.0 reset value: 00 h rw rw rw rw rw rw rw rw bit(field) function tsc time stamp counter current contents of the free running time stamp counter. tsrnh 76543210 address: 3x h tsn.15 tsn.14 tsn.13 tsn.12 tsn.11 tsn.10 tsn.9 tsn.8 reset value: uu h rrrrrrrr tsrnl 76543210 address: 3x h tsn.7 tsn.6 tsn.5 tsn.4 tsn.3 tsn.2 tsn.1 tsn.0 reset value: uu h rrrrrrrr bit(field) function tsn time stamp n a 16-bit timer value to identify the time of reception of message n.
07feb95@09:05h intermediate version semiconductor group 29 sae 81c90/91 time stamp register table transmit check error counter note: not defined bit positions must be 0 for write accesses. transmit check data register this register supports an error analysis when a transmit check error is encountered. reading tcd provides the byte which was actually being sent when the error occurred. address function 30 h high byte time-stamp 0 31 h low byte 32 h high byte time-stamp 1 33 h low byte ::: 3c h high byte time-stamp 6 3d h low byte 3e h high byte time-stamp 7 3f h low byte tcec 76543210 address: 15 h ----- tcecv reset value: 00 h -----rwrwrw bit(field) function tcecv transmit check error counter value number of errors detected by the transmit check unit. when a count of 4 is reached an interrupt is generated if enabled. if bit tce (ctrl.1) is set to 1 the bus off status is entered in this case. tcd 76543210 address: 16 h data byte reset value: xx h rrrrrrrr bit(field) function data byte the data byte which was attempted to be sent while a transmit check error was encountered.
07feb95@09:05h intermediate version semiconductor group 30 sae 81c90/91 port control registers these registers control the parallel ports p0 and p1 which are provided in the sae 81c90. the port direction registers pxpdr select each port pin separately for input (pxpdr.n=0) or output (pxpdr.n=1). after reset the ports are switched as inputs. the port latch registers pxlr store the output data for those port pins that are switched to output. the port pin registers pxpr provide the current level of the port pins. these registers can only be read. in parallel to the standard cmos structure there are additional internal pullup devices of about 10...200 k w at each port pin. note: registers pxpdr and pxpl may be used for general purpose storage if the ports are not used. p1pdr 76543210 address: 2c h p1pd.7 p1pd.6 p1pd.5 p1pd.4 p1pd.3 p1pd.2 p1pd.1 p1pd.0 reset value: 00 h rw rw rw rw rw rw rw rw p0pdr 76543210 address: 28 h p0pd.7 p0pd.6 p0pd.5 p0pd.4 p0pd.3 p0pd.2 p0pd.1 p0pd.0 reset value: 00 h rw rw rw rw rw rw rw rw p1lr 76543210 address: 2e h p1l.7 p1l.6 p1l.5 p1l.4 p1l.3 p1l.2 p1l.1 p1l.0 reset value: 00 h rw rw rw rw rw rw rw rw p0lr 76543210 address: 2a h p0l.7 p0l.6 p0l.5 p0l.4 p0l.3 p0l.2 p0l.1 p0l.0 reset value: 00 h rw rw rw rw rw rw rw rw p1pr 76543210 address: 2d h p1p.7 p1p.6 p1p.5 p1p.4 p1p.3 p1p.2 p1p.1 p1p.0 reset value: 00 h rrrrrrrr p0pr 76543210 address: 29 h p0p.7 p0p.6 p0p.5 p0p.4 p0p.3 p0p.2 p0p.1 p0p.0 reset value: 00 h rrrrrrrr
07feb95@09:05h intermediate version semiconductor group 31 sae 81c90/91 bit timing a regular bit period is composed of the following three segments: l synchronization segment l timing segment 1 l timing segment 2. the sampling point is between timing segment 1 and timing segment 2. figure 6 bit time segments synchronization the edge of the input signal is expected during the sync segment (duration = 1 system clock cycle = 1 t scl ). timing segment 1 (tseg1) timing segment 1 determines the sampling point within a bit period. this point is always at the end of segment 1. the segment is programmable from 1 to 16 t scl (see bit-length register bl1). timing segment 2 (tseg2) timing segment 2 provides extra time for internal processing after the sampling point. the segment is programmable from 1 to 8 t scl (see bit-length register bl1). synchronization jump width (sjw) to compensate for phase shifts between the oscillator frequencies of the different bus stations, each can controller must be able to synchronize to the relevant signal edge of the incoming signal. the synchronization jump width (sjw) determines the maximum number of system clock pulses by which the bit period can be lengthened or shortened for resynchronization. the synchronization jump width is programmable from 1 to 4 t scl (see bit-length register bl2).
07feb95@09:05h intermediate version semiconductor group 32 sae 81c90/91 figure 7 lengthening a bit period figure 8 shortening a bit period delay times the total delay is calculated from the following single delays: l 2 physical bus t bus (max. 100 ns acc. to can specification) l 2 input comparator t comp (depends on application circuit) l 2 output driver t driver (depends on application circuit) l 1 input to output of can controller t inout (max. 1 t scl + 80 ns) t delay = 2 ( t bus + t comp + t driver ) + t inout recommendations on the premise of the stated conditions, there are the following essential requirements to be maintained: t tseg1 3 t seg2 t tseg1 3 t delay t tseg2 > t sjw t tseg2 3 3 t scl + t sjw if bit sam = 1 (otherwise bit recognition does not work).
07feb95@09:05h intermediate version semiconductor group 33 sae 81c90/91 host interfaces there are two different host interfaces implemented in the sae 81c90/91. data and addresses on a multiplexed 8-bit bus, compatible with siemens microcontrollers (c5xx, c16x), can be transferred via the parallel interface (pi). using the serial synchronous interface (sl), any host controller with a serial three-lead interface can be connected with. the interface is selected by hardware through the wiring of the ms (mode select) pin. this pin may not be switched during operation. if there is a high level on the ms pin, the si and thus pins di, do, clk, w and tim are activated, while pins ad5 through ad7, rd, wr and ale are inactive. a low level on the ms pin switches to the pl and thus activates pins ad0 through ad7, rd, wr and ale. parallel interface pl the parallel interface uses a multiplexed 8-bit address/data bus. first the address of the required register is applied to the pins ad0 through ad7. a falling edge on pin ale means that this address is transferred to an on-chip latch. after this, data can either be written into the selected register (pin wr = 0) or read from it (pin rd = 0) via the address/data bus. pin cs must be 0 for the entire duration of the rd/ wr active time so that the circuit is activated. serial synchronous interface sl if the si is used the unused pins of pi must be set to inactive levels ( rd, wr to v dd and ale, ad5, ad6, ad7 to v ss ). communication on the si is accomplished according to the following procedure: each access to the stand-alone full-can circuit has to be started by activating the device ( cs = 0). after the beginning of access, an address must be written first and then data can be read or written. the required function is determined by pin w ( w = 1: read; w = 0: write). if the automatic decrementing of the address is activated (bit ade in the mod register), any number of data bytes can be accessed in succession. finally the device has to be deactivated. procedure: l activate device ( cs = 0) l set pin w to 1 for read, to 0 for write l write in address of first data byte l read out/write in one or more data bytes l deactivate device ( cs = 1) the most-significant bit is always output as the first bit of an address or a data byte. data from pin di are transferred into the internal shift register with the rising edge of the clock. the active clock edge of pin do is selectable via the pin tim. if this pin is 0 the data are output from the shift register to pin do with the rising clock edge (timing a). if the pin tim is 1, the output of data is done with the falling edge (timing b). the timing for reading and writing of two data bytes with automatic decrementing activated is illustrated below.
07feb95@09:05h intermediate version semiconductor group 34 sae 81c90/91 figure 9 serial interface timing (for 2 data bytes)
07feb95@09:05h intermediate version semiconductor group 35 sae 81c90/91 absolute maximum ratings ambient temperature under bias ( t a ): ..................................................................... C 40 to + 110 ?c storage temperature ( t st )........................................................................................ C 50 to + 150 ?c voltage on v cc pins with respect to ground ( v ss ) ..................................................... C 0.5 to + 6.0 v voltage on any pin with respect to ground ( v ss ) .................................................C 0.5 to v cc + 0.5 v input current on any pin during overload condition .................................................. C 10 to + 10 ma absolute sum of all input currents during overload condition ............................................. |100 ma| power dissipation.............................................................................................................. ....... 0.5 w note: stresses above those listed under absolute maximum ratings may cause permanent damage to the device. this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. during overload conditions ( v in > v cc or v in < v ss ) the voltage on pins with respect to ground ( v ss ) must not exceed the values defined by the absolute maximum ratings. parameter interpretation the parameters listed in the following partly represent the characteristics of the sae 81c90/91 and partly its demands on the system. to aid in interpreting the parameters right, when evaluating them for a design, they are marked in column symbol: dc ( d evice c haracteristics): the logic of the sae 81c90/91 will provide signals with the respective timing characteristics. sr ( s ystem r equirement): the external system must provide signals with the respective timing characteristics to the sae 81c90/91.
07feb95@09:05h intermediate version semiconductor group 36 sae 81c90/91 dc characteristics v cc = 5 v 10 %; v ss = 0 v t a = C 40 to + 110 ?c notes 1) if the bus lines work according to the iso specification, additional circuitry is necessary for interconnection of the input comparator to the bus lines. 2) not 100% tested, guaranteed by design characterization. 3) this value is a typical value! 4) this specification does not apply to the port pins (p00...p07, p10...p17) due to the implemented pullups! 5) in oscillator mode the size of the low-end capacitance must correspond to the specification of the crystal manufacturer. the optimum values depend on the selected crystal, the intended frequency and the actual application hardware (stray capacitances). 10 pf are recommended for c l . for best results keep the crystal circuitry connections as short as possible and keep the clkout line away from it. if the clkout signal is not required by the system it should be switched off. parameter symbol limit values unit test condition min. max. input low voltage (all except xtal1 and xtal2) v il sr 0 0.3 v cc vC input low voltage (xtal1 and xtal2) v ilx sr 0 0.5 v C input high voltage (all except xtal1 and xtal2) v ih sr 0.7 v cc v cc vC input high voltage (xtal1 and xtal2) v ihx sr v cc C 1.0 v cc vC comparator input voltage 1) v ci sr 0.5 v cc + 0.5 v C common mode voltage 2) v icom sr 1.5 v cc C 1.5 v C hysteresis 2) v hys dc C 100 3) mv C offset voltage 2) v off dc C 100 3) mv C output low voltage (all except clkout, tx0, tx1) v ol dc C 0.2 v cc v i ol = 1.6 ma output low voltage (clkout) v olc dc C 0.4 v i ol1 = 10 ma output high voltage (all except clkout, tx0, tx1) v oh dc 0.8 v cc v cc v i oh = C 1.6 ma output high voltage (clkout) v ohc dc v cc C 0.8 v cc v i oh = C 10 ma input leakage current i i dc C 1 m a 0 v < v in < v cc 4) source output current (tx0, tx1) i src dc5Cma v o = v cc C 1 v sink output current (tx0, tx1) i snk dc5Cma v o = 1 v low end capacitance 5) c l dc 6.8 12 pf pin capacitance 2) c i dc C 10 pf f = 1 mhz t a = 25 ?c power supply current i cc C30ma
07feb95@09:05h intermediate version semiconductor group 37 sae 81c90/91 ac characteristics (general timing) v cc = 5 v 10 %; v ss = 0 v t a = C 40 to + 110 ?c 1) not 100% tested, guaranteed by design characterization. ac characteristics (si timing) v cc = 5 v 10 %; v ss = 0 v t a = C 40 to + 110 ?c; c l = 50 pf parameter symbol limit values unit test conditions min. max. oscillator period t osc sr 50 - ns clock input high time t h sr 23.5 C ns clock input low time t l sr 23.5 C ns reset pulse width t res sr 2 C t osc output rise time 1) t qr dc C 40 ns c l = 70 pf output fall time 1) t qf dc C 40 ns c l = 70 pf clkout rise time 1) t qrc dc C 20 ns c l = 50 pf clkout fall time 1) t qfc dc C 20 ns c l = 50 pf parameter symbol limit values unit test conditions min. max. chip select setup t css sr 10 ns clock high time t ch sr 1.5 t osc + 10 ns clock low time t cl sr 1.5 t osc + 10 ns clock period t c sr 4 t osc ns di setup t dis sr 10 ns di hold t dih sr 0 ns address to data out t ado dc 3 t osc ns output delay t od dc 25 ns data float after cs high t df dc 25 ns chip select hold t csh sr 1 t osc ns write to clock t wc 0ns w to cs high t wcs sr 0 ns address to data in t adi dc 0 ns
07feb95@09:05h intermediate version semiconductor group 38 sae 81c90/91 figure 10 si-read-timing (timing a: pin tim = 0) figure 11 si-read-timing (timing b: pin tim =1)
07feb95@09:05h intermediate version semiconductor group 39 sae 81c90/91 figure 12 si-write-timing ac characteristics (pi timing) v cc = 5 v 10 %; v ss = 0 v t a = C 40 to + 110 ?c; c l = 50 pf parameter symbol limit values unit test condition min. max. read-cycle time t cyr dc 4 t osc ns write-cycle time t cyw dc 4 t osc ns ale pulse width t lhll dc 30 ns address setup to ale low t avll sr 10 ns address hold after ale low t llax sr 10 ns rd pulse width t rlrh sr 2 t osc + 30 ns wr pulse width t wlwh sr 2 t osc + 30 ns ale low to wr active t llwl sr 20 ns ale low to rd active t llrl sr 20 ns data float after rd high t rfdx dc 0 20 ns rd low to data valid t rldv dc 2 t osc + 20 ns data setup before wr high t dvwh sr 10 ns data hold after wr high t whdx sr 5 ns cs low to rd low t clrl / sr 0 ns cs low to wr low t clwl sr 0 ns wr high to next ale low t whll sr 1.5 t osc ns
07feb95@09:05h intermediate version semiconductor group 40 sae 81c90/91 figure 13 pi timing: read-cycle-timing figure 14 pi timing: write-cycle-timing


▲Up To Search▲   

 
Price & Availability of SAE81C90

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X